<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/connopen.asp"-->
<!--#include file="lib/asp-common-lib.asp"-->
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CC的办公系统</title>
<!--#include file="lib/plugins.asp"-->
<style type="text/css">
	.ui-datepicker table {
		border: 0;
	}
</style>
<script type="text/javascript">
	$(function() {
	});
</script>
<!--#include file="lib/js-google-analytics.asp"-->
</head>
<%
	if not CheckPostFlag(session("aaPostFlag"),3,1) then call JumpErrorPage(2)
%>
<body>
<!--#include file="lib/header.asp"-->
<!--#include file="lib/nav.asp"-->
<div id="main">
<!--#include file="lib/col1.asp"-->
<!--#include file="lib/col2.asp"-->
	<div id="col3" role="main">
		<div id="col3_content" class="clearfix">
		
			<table class="full">
				<thead>
					<tr>
						<th>序号</th>
						<th>报表名称</th>
						<th>报表日期</th>
						<th>查看报表</th>
						<th>打印报表</th>
						<th>下载报表(Excel)</th>
						<%if CheckPostFlag(session("aaPostFlag"),2,5) then%>
						<th>删除</th>
						<%end if%>
					</tr>
				</thead>
				<tbody>
		<%
			Set rs = Server.CreateObject("ADODB.Recordset")
			sql = "SELECT * FROM xls where xls_type=3 order by xls_date desc"
			rs.Open sql,conn,1,1
			do while not rs.eof

		%>
				
					<tr>
						<td><%=rs.AbsolutePosition%></td>
						<td><%=rs("xls_title")%></td>
						<td><%=rs("xls_date")%></td>
						<td><a href="reportoffer_info.asp?xls_id=<%=rs("xls_id")%>" target="_blank">报表</a></td>
						<td><a href="reportoffer_print.asp?xls_id=<%=rs("xls_id")%>&xls_date=<%=rs("xls_date")%>" target="_blank">打印</a></td>
						<td><a href="<%=rs("xls_name")%>">下载(Excel)</a></td>
						<%if CheckPostFlag(session("aaPostFlag"),2,5) then%>
						<td><a href="del_xls.asp?xls_id=<%=rs("xls_id")%>&xls_name=<%=rs("xls_name")%>">删除</a></td>
						<%end if%>
					</tr>
					
		<%
				rs.movenext
			loop
			rs.close
			set rs=nothing
		%>
				
				</tbody>
			</table>		
		
		</div>
	</div>
</div>
<!--#include file="lib/footer.asp"-->
</body>
</html>
<!--#include file="lib/connclose.asp"-->

